	<div id ="sub-menu">
	<%= link_to 'Editer cette machine', {:controller => "machines", :action => "edit"}, :class => "bouton" %> 
	<%= link_to 'Ajouter une machine', new_machine_path,:class => "bouton"  %>
	<%= link_to 'Retour', {:controller => "machines", :action => "index"}, :class => "bouton" %>

 	</div>



	<div id="display">
		<div id="cadre_display">
		<%= image_tag("computer4.png") %> <br />
    	<%=h @machine.machine_name %>
    	</div>
		
    <table class=" table2">

		<tr>
			<td><b>Id:</b></td>
			<td><%=h @machine.id %></td>
		</tr>

		<tr>
			<td><b>Numéro Série:</b></td>
			<td><%=h @machine.serial_number %> </td>
		</tr>
		
		<tr>
			<td><b>Adresse IP:</b></td>
			<td><%=h @machine.ip_adr %></td>
		</tr>
			
		<tr>
			<td><b>Salle:</b></td>
			<td><%=h @machine.room.room_name %> </td>
		</tr>
	</table>
	</div>
	<!-- En cours de dev
		<%= link_to 'ping', :controller=>'machines',
                :action => 'ping', :adresse_ip => @machine.ip_adr %>
			
	-->


